<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="java.util.Map,java.util.List"%>
<%@ page import="com.xyrj.html.HHHtml"%>
<%@page import="system.config.HHConfig"%>
<jsp:include page="./common/header.jsp" flush="true" />
</head>
<body id="page2" onload="new ElementMaxHeight();">
	<jsp:include page="./common/logo-navmenu.jsp" flush="true" />
	<!-- content -->
	<div id="content">
		<div class="container">
			<jsp:include page="./common/banner.jsp" flush="true" />
			<div class="section">
				<!-- box begin -->
				<div class="box">
					<div class="border-top">
						<div class="border-right">
							<div class="border-bot">
								<div class="border-left">
									<div class="left-top-corner">
										<div class="right-top-corner">
											<div class="right-bot-corner">
												<div class="left-bot-corner">
													<div class="inner">
														<%
															if (null != request.getAttribute("last_record")) {
																Map next_record = (Map) request.getAttribute("next_record");
														%>
														上一篇: <a href="<%=HHConfig.SITE_URL%>/index.jsp/proinfo/detail?id=<%=next_record.get("proinfo_id")%>"><%=next_record.get("proinfo_name")%></a>
														<%
															}
														%>
													</div>
													<div class="inner">
														<%
															Map record = (Map) request.getAttribute("record");
														%>
														<h2><%=record.get("proinfo_name")%></h2>
                                                        <p class="detail-image-box">
														<%=HHHtml.img(
                                        					HHHtml.getResourceUrl(record.get("image_path")),
                                        					"detail-image", "detail_img_id",
                                        					record.get("proinfo_name").toString()) %>
                                                        </p>
														<%=record.get("context")%>
														<div class="clear"></div>
													</div>
													<%
														if (request.getAttribute("next_record") != null) {
															Map next_record = (Map) request.getAttribute("next_record");
													%>
													<div class="inner">
														下一篇: <a href="<%=HHConfig.SITE_URL%>/index.jsp/proinfo/detail?id=<%=next_record.get("proinfo_id")%>"><%=next_record.get("proinfo_name")%></a>
													</div>
													<%
														}
													%>
												</div>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
				<!-- box end -->
			</div>
		</div>
	</div>
	<!-- extra-content -->
	<div id="extra-content">
		<div class="container">
			<!-- box begin -->
			<div class="box">
				<div class="border-top">
					<div class="border-right">
						<div class="border-bot">
							<div class="border-left">
								<div class="left-top-corner">
									<div class="right-top-corner">
										<div class="right-bot-corner">
											<div class="left-bot-corner">
												<div class="inner">
													<h2>其它案例</h2>
													<div class="carousel">
														<ul>
															<li class="prev"><img alt=""
																src="<%=HHConfig.SITE_URL + "/" + HHConfig.THEME_PATH%>/default/images/prev.gif" /></li>
															<%
																List<Map> otherProInfoList = (List<Map>) request
																		.getAttribute("otherProInfoList");
																for (int i = 0; otherProInfoList != null
																		&& i < otherProInfoList.size(); i++) {
																	Map proInfo = otherProInfoList.get(i);
															%>
															<li><a
																href="<%=HHConfig.SITE_URL%>/index.jsp/proinfo/detail?id=<%=proInfo.get("proinfo_id")%>">
																	<img alt="<%=proInfo.get("proinfo_name")%>"
																	src="<%=HHHtml.getResourceUrl(proInfo.get("image_path"))%>"
																	width="261" height="179" />
															</a></li>
															<%
																}
															%>
															<li class="next"><img alt=""
																src="<%=HHConfig.SITE_URL + "/" + HHConfig.THEME_PATH%>/default/images/next.gif" /></li>
														</ul>
													</div>
												</div>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<!-- box end -->
		</div>
	</div>
	<!-- footer -->
	<jsp:include page="./common/footer.jsp" flush="true" />
</body>
</html>